Optimal. Leaf size=312 \[ \frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 x^3}+\frac {2 b \left (c^2 d+2 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 b c \left (c^2 d+2 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {d+e x^2} E\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{9 d \sqrt {1+\frac {e x^2}{d}}}-\frac {b \left (c^2 d+e\right ) \left (2 c^2 d+3 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1+\frac {e x^2}{d}} F\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{9 c d \sqrt {d+e x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 312, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 10, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.435, Rules used = {270, 6436, 12,
485, 597, 538, 437, 435, 432, 430} \begin {gather*} -\frac {\left (d+e x^2\right )^{3/2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}-\frac {b \sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \left (c^2 d+e\right ) \left (2 c^2 d+3 e\right ) \sqrt {\frac {e x^2}{d}+1} F\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{9 c d \sqrt {d+e x^2}}+\frac {2 b c \sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \left (c^2 d+2 e\right ) \sqrt {d+e x^2} E\left (\text {ArcSin}(c x)\left |-\frac {e}{c^2 d}\right .\right )}{9 d \sqrt {\frac {e x^2}{d}+1}}+\frac {2 b \sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \sqrt {1-c^2 x^2} \left (c^2 d+2 e\right ) \sqrt {d+e x^2}}{9 d x}+\frac {b \sqrt {\frac {1}{c x+1}} \sqrt {c x+1} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 270
Rule 430
Rule 432
Rule 435
Rule 437
Rule 485
Rule 538
Rule 597
Rule 6436
Rubi steps
\begin {align*} \int \frac {\sqrt {d+e x^2} \left (a+b \text {sech}^{-1}(c x)\right )}{x^4} \, dx &=-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\left (b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int -\frac {\left (d+e x^2\right )^{3/2}}{3 d x^4 \sqrt {1-c^2 x^2}} \, dx\\ &=-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}-\frac {\left (b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {\left (d+e x^2\right )^{3/2}}{x^4 \sqrt {1-c^2 x^2}} \, dx}{3 d}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 x^3}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}-\frac {\left (b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {2 d \left (c^2 d+2 e\right )+e \left (c^2 d+3 e\right ) x^2}{x^2 \sqrt {1-c^2 x^2} \sqrt {d+e x^2}} \, dx}{9 d}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 x^3}+\frac {2 b \left (c^2 d+2 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {\left (b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {-d e \left (c^2 d+3 e\right )+2 c^2 d e \left (c^2 d+2 e\right ) x^2}{\sqrt {1-c^2 x^2} \sqrt {d+e x^2}} \, dx}{9 d^2}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 x^3}+\frac {2 b \left (c^2 d+2 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {\left (2 b c^2 \left (c^2 d+2 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {\sqrt {d+e x^2}}{\sqrt {1-c^2 x^2}} \, dx}{9 d}-\frac {\left (b \left (c^2 d+e\right ) \left (2 c^2 d+3 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {1}{\sqrt {1-c^2 x^2} \sqrt {d+e x^2}} \, dx}{9 d}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 x^3}+\frac {2 b \left (c^2 d+2 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {\left (2 b c^2 \left (c^2 d+2 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {d+e x^2}\right ) \int \frac {\sqrt {1+\frac {e x^2}{d}}}{\sqrt {1-c^2 x^2}} \, dx}{9 d \sqrt {1+\frac {e x^2}{d}}}-\frac {\left (b \left (c^2 d+e\right ) \left (2 c^2 d+3 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1+\frac {e x^2}{d}}\right ) \int \frac {1}{\sqrt {1-c^2 x^2} \sqrt {1+\frac {e x^2}{d}}} \, dx}{9 d \sqrt {d+e x^2}}\\ &=\frac {b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 x^3}+\frac {2 b \left (c^2 d+2 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1-c^2 x^2} \sqrt {d+e x^2}}{9 d x}-\frac {\left (d+e x^2\right )^{3/2} \left (a+b \text {sech}^{-1}(c x)\right )}{3 d x^3}+\frac {2 b c \left (c^2 d+2 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {d+e x^2} E\left (\sin ^{-1}(c x)|-\frac {e}{c^2 d}\right )}{9 d \sqrt {1+\frac {e x^2}{d}}}-\frac {b \left (c^2 d+e\right ) \left (2 c^2 d+3 e\right ) \sqrt {\frac {1}{1+c x}} \sqrt {1+c x} \sqrt {1+\frac {e x^2}{d}} F\left (\sin ^{-1}(c x)|-\frac {e}{c^2 d}\right )}{9 c d \sqrt {d+e x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 22.11, size = 576, normalized size = 1.85 \begin {gather*} \frac {\frac {b \sqrt {\frac {1-c x}{1+c x}} \left (d+e x^2\right )}{x^3}+\frac {b c \sqrt {\frac {1-c x}{1+c x}} \left (d+e x^2\right )}{x^2}+\frac {2 b \left (c^2 d+2 e\right ) \sqrt {\frac {1-c x}{1+c x}} \left (d+e x^2\right )}{d x}-\frac {3 a \left (d+e x^2\right )^2}{d x^3}-\frac {3 b \left (d+e x^2\right )^2 \text {sech}^{-1}(c x)}{d x^3}-\frac {2 i b \left (c \sqrt {d}-i \sqrt {e}\right )^2 \sqrt {\frac {1-c x}{1+c x}} (1+c x) \sqrt {\frac {c \left (\sqrt {d}-i \sqrt {e} x\right )}{\left (c \sqrt {d}-i \sqrt {e}\right ) (1+c x)}} \sqrt {\frac {c \left (\sqrt {d}+i \sqrt {e} x\right )}{\left (c \sqrt {d}+i \sqrt {e}\right ) (1+c x)}} \left (\left (c^2 d+2 e\right ) E\left (i \sinh ^{-1}\left (\sqrt {\frac {\left (c^2 d+e\right ) (1-c x)}{\left (c \sqrt {d}+i \sqrt {e}\right )^2 (1+c x)}}\right )|\frac {\left (c \sqrt {d}+i \sqrt {e}\right )^2}{\left (c \sqrt {d}-i \sqrt {e}\right )^2}\right )+\left (2 i c \sqrt {d}-3 \sqrt {e}\right ) \sqrt {e} F\left (i \sinh ^{-1}\left (\sqrt {\frac {\left (c^2 d+e\right ) (1-c x)}{\left (c \sqrt {d}+i \sqrt {e}\right )^2 (1+c x)}}\right )|\frac {\left (c \sqrt {d}+i \sqrt {e}\right )^2}{\left (c \sqrt {d}-i \sqrt {e}\right )^2}\right )\right )}{c d \sqrt {-\frac {\left (c \sqrt {d}-i \sqrt {e}\right ) (-1+c x)}{\left (c \sqrt {d}+i \sqrt {e}\right ) (1+c x)}}}}{9 \sqrt {d+e x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.38, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \,\mathrm {arcsech}\left (c x \right )\right ) \sqrt {e \,x^{2}+d}}{x^{4}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \operatorname {asech}{\left (c x \right )}\right ) \sqrt {d + e x^{2}}}{x^{4}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {e\,x^2+d}\,\left (a+b\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )\right )}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________